﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Net.Models
{
    /// <summary>
    /// 
    /// </summary>
    public class WebStreamResponse : WebMessageResponseBase<Stream>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="httpContent"></param>
        /// <returns></returns>
        protected override Task<Stream> ResolveHttpContentAsync(HttpContent httpContent)
        {
            return httpContent.ReadAsStreamAsync();
        }
    }
}
